<template>
    <view class="load-more">
        <u-loading-icon v-if="hasMore" size="46rpx" mode="semicircle" color="#0069FF"></u-loading-icon>
        <u-divider v-else text="没有更多内容" :dashed="true" textSize="28rpx"></u-divider>
    </view>
</template>

<script>
export default {
    name: 'LoadMore',
    props: {
        // 是否有更多
        hasMore: {
            type: Boolean,
            default: false
        }
    }
};
</script>

<style lang="scss" scoped>
.load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 98rpx;
    padding: 0 32rpx;
    .u-divider {
        width: 100%;
    }
}
</style>
